Ext.define(_userViewreport, {
    extend: 'Ext.container.Viewport',

    layout: {
        type: 'border'
    },

    initComponent: function() {
        var me = this;

        Ext.applyIf(me, {
            defaults: {
                split: true,
                collapsible: true
            },
            items: [
                {
                    xtype: 'TituloPanel',
                    collapsible: false,
                    region: 'north',
                    collapsed: !EXIBIR_CABECALHO
                },
                {
                    xtype: 'AdministrativoPanel',
                    region: 'west'
                },
                {
                    xtype: 'panel',
                    frame: false,
                    layout: {
                        type: 'border'
                    },
                    collapsible: false,
                    region: 'center',
                    dockedItems: [
                        {
                            xtype: 'YaMenu'
                        }
                    ],
                    items: [
                        {
                            xtype: 'tabpanel',
                            id: 'mainContent',
                            defaults: {
                                closable: true,
                                border: false
                            },
                            region: 'center',
                            bodyStyle: 'background-color:#EEE'
                        }
                    ]
                },
                {
                    xtype: 'panel',
                    region: 'east',
                    collapsed: true,
                    collapsible: true,
                    titleCollapse: true,
                    split: true,
                    itemId: 'rightPanel',
                    width: 200,
                    title: 'Favoritos',
                    html: '<h3>Menu direito</h3>'
                },
                {
                    xtype: 'RodapePanel',
                    id: 'idRodapePanel',
                    region: 'south'
                }
            ]
        });

        me.callParent(arguments);
    }

});